package base.Reflct;

public class Student {
    private String name;
    private int age;
    private double score;
    public Student(){
    }
    public Student(String name,int age,double score){
        this.name = name;
        this.age = age;
        this.score = score;
    }
    private void eat(){
        System.out.println("学生吃东西");
    }
    public void show(){
        System.out.println("姓名："+name+"，年龄："+age+"，成绩："+score);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }


}
